let arr:boolean[]|number[]|string[]=[1]
let arrs:{a:boolean,b?:number}|{c:string}={
    a:true
}
type NUM=number
type STR=string

enum color{blue,green,red}
let colors:color=color.red
console.log(color,1234);

let a:number|string|boolean=false
let a1:number|string|boolean='aaa'
let a2:number|string|boolean=123
let arrss:{a:boolean,b?:number}|{c:string}={
    a:true
}

const NUM='12' as string
type str=typeof NUM
let newstr=12
if(newstr==12){
    console.log(12345);
    
}

function greeter(person: string) {
    return "Hello, " + person;
}

let user = "Jane User";

document.body.innerHTML = greeter(user);


